import request from '@/utils/request'
// 全部分类
export function homeCategoryHead() {
  return request({
    url: '/home/category/head'
  })
}

//一级分类
export function category(id) {
  return request({
    url: '/category',
    params: {
      id
    }
  })
}
